package com.qmerak.service;

import java.util.List;

import com.qmerak.entity.OrgEntity;
import com.qmerak.entity.PostUnitEntity;

/**
 * @author Shaohong•Cheng
 * @mail shaohong726@126.com
 * @date 2013-5-19
 * @project WebTest
 */
public interface IPostUnitService {
	public PostUnitEntity add(PostUnitEntity entity);

	public void delete(PostUnitEntity entity);

	public void update(PostUnitEntity entity);

	public List<PostUnitEntity> list();

	public List<PostUnitEntity> unitsOfOrg(OrgEntity orgEntity);

	public PostUnitEntity find(String id);

	public List<PostUnitEntity> queryByCondition(String condition);
}
